#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2022/2/14 17:27
    Desc  :
--------------------------------------
"""
import subprocess
import time

if __name__ == '__main__':

    p = subprocess.Popen('locust -f ./extends/flask_locust/main.py --web-host=0.0.0.0')

    time.sleep(10)

    p.kill()
